﻿using CommunityToolkit.Mvvm.ComponentModel;
using Company.Plc;


namespace Company.Shell.Models
{
    public class Config : ObservableObject
    {
        private PlcConfig plcConfig = new();
        /// <summary>
        /// plc参数
        /// </summary>
        public PlcConfig PlcConfig
        {
            get => plcConfig;
            set => SetProperty(ref plcConfig, value);
        }

        private SoftwareConfig softwareConfig = new();
        /// <summary>
        /// 软件参数
        /// </summary>
        public SoftwareConfig SoftwareConfig
        {
            get => softwareConfig;
            set => SetProperty(ref softwareConfig, value);
        }
    }
}
